import request from "./request";

const baseURL = '/search'

const rss = (seachForm) => {
  return request.doRequest(`${baseURL}/rss`, {params: seachForm})
};
//
const jackett = (seachForm) => {
  return request.doRequest(`${baseURL}/jackett`, {params: seachForm})
};

const SearchApi = {
  rss, jackett
};
export default SearchApi;
